#include "ofMain.h"
#include "testApp.h"

#include "ofAppNoWindow.h"
#include "ofxArgs.h"


//========================================================================
int main( int argc, char *argv[]){
	
	ofxArgs* args = new ofxArgs(argc, argv);

    ofAppBaseWindow* pWindow = new ofAppNoWindow();
	//    ofAppBaseWindow* pWindow = new ofAppGlutWindow();
	ofSetupOpenGL(pWindow, 600,320, OF_WINDOW);			// <-------- setup the GL context

	// this kicks off the running of my app
	// can be OF_WINDOW or OF_FULLSCREEN
	// pass in width and height too:

	ofRunApp(new testApp(args));
	delete args;

}

